package com.joint.cloud.gateway.constants;

/**
 * Created by keets on 2017/12/9.
 */
//@Component
//@Configuration
public class SecurityConstants {

//    public static final String USER_ID_IN_HEADER = "X-AOHO-UserId";

//    public static final String AUTH_SERVICE = "nycloud-auth-server";

//    @Value("${authserver.user-id-in-header}")
    private String userIdInHeader = "X-AOHO-UserId";
    
    private String realIPInHeader = "X-Real-IP";

//    @Value("${authserver.service-id}")
    private String authServerServiceId = "joint-cloud-auth";

    public String getUserIdInHeader() {
        return userIdInHeader;
    }

    public void setUserIdInHeader(String userIdInHeader) {
        this.userIdInHeader = userIdInHeader;
    }

    public String getAuthServerServiceId() {
        return authServerServiceId;
    }

    public void setAuthServerServiceId(String authServerServiceId) {
        this.authServerServiceId = authServerServiceId;
    }

	public String getRealIPInHeader() {
		return realIPInHeader;
	}

	public void setRealIPInHeader(String realIPInHeader) {
		this.realIPInHeader = realIPInHeader;
	}
}
